package com.four.service.impl;

import com.four.dao.IMoidDao;
import com.four.pojo.Moer;
import com.four.service.IMoidService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @author 于志豪
 * @create 2021-10-27 21:35
 */

@Service("moidServiceImpl")
public class MoidServiceImpl implements IMoidService {
    @Autowired
    @Qualifier("iMoidDao")
    private IMoidDao iMoidDao;

    @Override
    public int deleteMid(int id) {
        return iMoidDao.deleteMid(id);
    }

    @Override
    public int addMoid(Moer moer) {
        return iMoidDao.addMoid(moer);
    }
}
